#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QtGui/QDialog>

namespace Ui {
	class SettingDialog;
}

class QSettings;

class SettingDialog : public QDialog {
	Q_OBJECT
public:
	SettingDialog(QSettings *s = NULL, QWidget *parent = NULL);
	~SettingDialog();

public slots:
	virtual void accept();

protected:

private:
	Ui::SettingDialog *m_ui;
	QSettings *settings;

private slots:
	void applyColors();

	void addHiddenUser();
	void removeHiddenUser();

	void chooseSound();

	void clearImageCache();

	void toggleStartupCurrentUser(bool);
	void checkStartupState();
};

#endif // SETTINGDIALOG_H
